package com.bangcommunity.bbframe.druid.filter.qtmonitor;

import com.alibaba.druid.filter.stat.StatFilterContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.alibaba.druid.filter.AutoLoad;
import com.alibaba.druid.filter.FilterAdapter;

/**
 * Created by tanghc on 17/1/16.
 */
@AutoLoad
public class QtmonitorInitializer extends FilterAdapter {
    private final static Logger LOG = LoggerFactory.getLogger(QtmonitorInitializer.class);

    public QtmonitorInitializer() {
        init();
    }

    private void init() {
        StatFilterContext.getInstance().addContextListener(new QtmonitorContextListener());
    }
}
